---	玩家默认数据管理--------
local Game_Cfg=_G.ServerOHOH.config.Game

local realData = {};
local update = {

	[1]=function()
	end,

};

realData.version_update = update;

function realData.GetInitData()
	return {
		version =1,  --数据版本号
		set_data={
			bgm=1, 
			audio=1,
			isAutoRoll=1,--默认自动随机

			rollHide = 0,--隐藏小于n的滚动
		},

		rollSetting={
			isAuto=0,--默认自动随机
		},
		upd=1, --提示版本更新内容

		startTime=os.time(),--第一次开始游戏的时间戳
		base={
			Lucky=0,--幸运值
			ShinyLuck=0.025,--闪亮幸运值
			RainbowLuck=0.0001,--彩虹幸运值
			VoidLuck=0.00001,--虚空幸运值
			RollSpeed=1,--摇滚速度,
			diamond = 200,-- 
			elo=1002,--段位积分
			-- AttSpeed=1,-- 攻击速度
		},

		statistics={ --统计
			rolls=0,-- 摇的次数
			challenger=0,--成为擂主
			sponsor=0,--内购
		},
		--工坊（遗物、熔断 牺牲）
		workshop ={
			unlock = {1,2},--1：遗物、2：熔断 3：牺牲
		},
		--配方(包含relic 和 sacrifice)
		recipe={
			--解锁的遗物
			-- relic = {50005,50001,50003,50002,50006,50004},
			relic = {},
			--已经制作的遗物
			make={50002},
			--make={50005,50007,50003},
			--已经装备的遗物
			equip = {},

			sacrifice = {},

			
			--[100]=1, [装备的类型] = 装备的ID
			--寻找到的配方有哪些
		},
		car={
			had={ 
			-- ["10001_1"] = 10,

			["10000_1"] = 10,
			["10001_1"] = 10,
			["10002_1"] = 10,
			["10003_1"] = 10,
			["10004_1"] = 10,
			["10005_1"] = 10,
			["10006_1"] = 10,
			["10007_1"] = 10,
			["10008_1"] = 10,
			["10009_1"] = 10,
			["10010_1"] = 10,
			["10011_1"] = 10,
			["10012_1"] = 10,
			["10013_1"] = 10,
			["10014_1"] = 10,

			-- ["10002_1"] = 101,
			-- ["20002_1"] = 102,
			-- ["20001_1"] = 110,

			["20000_1"] = 110,
			["20001_1"] = 110,
			["20002_1"] = 110,
			["20003_1"] = 110,
			["20004_1"] = 110,
			["20005_1"] = 110,
			["20006_1"] = 110,
			["20007_1"] = 110,
			["20008_1"] = 110,
			["20009_1"] = 110,
			["20010_1"] = 110,
			["20011_1"] = 110,
			["20012_1"] = 110,
			["20013_1"] = 110,
			["20014_1"] = 110,


			-- ["30001_1"] = 110,

			["30000_1"] = 110,
			["30001_1"] = 110,
			["30002_1"] = 110,
			["30003_1"] = 110,
			["30004_1"] = 110,
			["30005_1"] = 110,
			["30006_1"] = 110,
			["30007_1"] = 110,
			["30008_1"] = 110,
			["30009_1"] = 110,
			["30010_1"] = 110,
			["30011_1"] = 110,
			["30012_1"] = 110,
			["30013_1"] = 110,
			["30014_1"] = 110,
			["30015_1"] = 110,
			["30016_1"] = 110,
			["30017_1"] = 110,
			["30018_1"] = 110,
			["30019_1"] = 110,
			["30020_1"] = 110,
			["30021_1"] = 110,
			["30022_1"] = 110,
			["30023_1"] = 110,
			["30024_1"] = 110,
			["30025_1"] = 110,
			["30026_1"] = 110,
			["30027_1"] = 110,
			["30028_1"] = 110,
			["30029_1"] = 110,
			["30030_1"] = 110,


			-- ["40001_1"] = 103,
			-- ["30002_1"] = 104,
			["40000_1"] = 101,
			["40001_1"] = 101,
			["40002_1"] = 101,
			["40003_1"] = 101,
			["40004_1"] = 101,
			["40005_1"] = 101,
			["40006_1"] = 101,
			["40007_1"] = 101,
			["40008_1"] = 101,
			["40009_1"] = 101,
			["40010_1"] = 101,
			["40011_1"] = 101,
			["40012_1"] = 101,
			["40013_1"] = 101,
			["40014_1"] = 101,
			["40015_1"] = 101,
			["40016_1"] = 101,
			["40017_1"] = 101,
			["40018_1"] = 101,
			["40019_1"] = 101,
			["40020_1"] = 101,
			["40021_1"] = 101,
			["40022_1"] = 101,
			["40023_1"] = 101,
			["40024_1"] = 101,
			["40025_1"] = 101,
			["40026_1"] = 101,
			["40027_1"] = 101,
			["40028_1"] = 101,
			["40029_1"] = 101,
			
			-- ["40008_1"] = 103,
			-- ["40009_1"] = 103,
			-- ["40010_1"] = 103,
			-- ["40011_1"] = 103,
			["50000_1"] = 105,
			["50001_1"] = 105,
			["50002_1"] = 105,
			["50003_1"] = 105,
			["50004_1"] = 105,
			["50005_1"] = 105,
			["50006_1"] = 105,
			["50007_1"] = 105,
			-- ["10001_2"] = 500,
			-- ["20001_3"] = 50,
			-- ["30001_4"] = 555,
			-- ["40001_5"] = 600,
			-- ["40001_2"] = 5,
			},
			equip ={"10001_1","20001_1","30001_1","40001_1","50001_1"},
			-- skin ={["10001_1"]=0,["20001_1"]=0,["30001_1"]=0,["40001_1"]=0,["50001_1"]=0},
			-- skin ={"10001_1","20001_1","30001_1","40001_1","50001_1"},
			-- 点击“锁定”   → 更新skin数据，所有置为1
			-- 点击“不锁定” → 用装备数据，  所有置为0
			skin ={	
			["10001_1"] = 0,
			["20001_1"] = 0,
			["40001_1"] = 0,
			["30001_1"] = 0,
			["50001_1"] = 0},
		},
		-- PVP数据
		-- myPVPScore = 106,
		PVPData={ 
			[1] ={userId = 7267525766, score = 2000,isWin = false , reward = -500,PVPtime = 1730672895},
			[2] ={userId = 7267525766, score = 1800,isWin = true , reward = 500,PVPtime = 1730772895}
		},
		--药水数据
		buff={ --拥有的buff数量
			--id=count
			["20000"] = 5,
			["20001"] = 6,
			["20003"] = 4,
		},

		--着装
		dress={ 

		},
	
		
		sing_in={
			id=0, --  签到Id
			time=0,-- 签到时间
			-- time=os.time()-24*60*60*10,-- 签到时间
			--isSingIn=false,--是否已经签到
		},
		likeGame={
			receiveCount=0,--玩家已经领取的次数
		},	

		-- 转盘奖励
		spinReward={
			spinTimes=0,--玩家剩余旋转次数
			lastSpinTime=os.time(),  --奖励计算开始时间
			intervalTimeStep=1;  --时间间隔index
			rewardSettingStep=1; --奖励index
		},

		redeem={}, --使用过的兑换码
		gamePass={
			lucky1=true,
			-- lucky2=true,
			-- Lucky3=true,
		},

		guide=1,
		favorite=false,--是否设置最爱
		task = {
			["Regular_AccumSignInTask_2"] = 0,
			["Regular_OnLineTask_3"] = 0,
			["Regular_PVPTask_4"] = 0,
			["Regular_RecipeTask_6"] = 0,
			["Regular_RelicTask_5"] = 0,
			["Regular_RollTask_1"] = 0
		},
		regularTask = { --任务面板情况存档,taskId当前任务Id,false代表未领取，true代表已领取
			["Regular_AccumSignInTask_2"] = {taskId = 2, isClaim = false},
			["Regular_OnLineTask_3"] = {taskId = 3, isClaim = false},
			["Regular_PVPTask_4"] = {taskId = 4, isClaim = false},
			["Regular_RecipeTask_6"] = {taskId = 6, isClaim = false},
			["Regular_RelicTask_5"] = {taskId = 5, isClaim = false},
			["Regular_RollTask_1"] ={taskId = 1, isClaim = false}
		}
	}
end;
realData.isTest=true--是否是测试（设置为true,不会存档，每次运行，都是默认表数据）
return realData;